<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 
        [边框]必须设置一下三个值:
        border-width: 5px;
        border-color: red;
        border-style: dashed;
        */
        .dashed {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: dashed;
        }

        .dotted {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: dotted;
        }


        .double {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: double;
        }


        .groove {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: groove;
        }

        .inherit {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: inherit;
        }

        .initial {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: initial;
        }

        .hidden {
            width: 100px;
            height: 100px;
            border-width: 5px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: hidden;
        }


        .inset {
            width: 100px;
            height: 100px;
            border-width: 20px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: inset;
        }


        .outset {
            width: 100px;
            height: 100px;
            border-width: 20px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: outset;
        }


        .ridge {
            width: 100px;
            height: 100px;
            border-width: 20px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: ridge;
        }



        .solid {
            width: 100px;
            height: 100px;
            border-width: 20px;
            border-color: red;
            margin: 10px;
            font-size: 20px;
            color: white;
            background-color: blue;
            border-style: solid;
        }
    </style>
</head>

<body>
    <div class="dashed">dashed</div>
    <div class="dotted">dotted</div>
    <div class="double">double</div>
    <div class="groove">groove</div>
    <div class="inherit">inherit</div>
    <div class="initial">initial</div>
    <div class="hidden">hidden</div>
    <div class="inset">inset</div>
    <div class="outset">outset</div>
    <div class="ridge">ridge</div>
    <div class="solid">solid</div>
</body>

</html>